HTML5

What is HTML5?

HTML5 is the new standard for HTML 4.01, XHTML 1.0 and DOM Level 2 HTML.

Why?

The main goal is to reduce the need for proprietary RIA technologies, such as Adobe Flash, Microsoft Silverlight and Sun JavaFX (with new elements like <video>, <canvas> and <audio>, to adapt HTML to the semantic web concept (with new elements like <nav>, <header> and <footer>) and to decrease bugs by allowing the browser to auto-correct mistakes more easily.

Support

Find out how much of HTML5 and CSS3 your browser supports on http://www.findmebyip.com/. Here’s a chart of support for all major browsers: http://www.findmebyip.com/litmus#target-selector

Check out A List Apart’s article on the History of HTML Markup

Examples

Tutorials & Info

Some Cool New Elements

Template

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>HTML5 Template</title>
 
<link rel="stylesheet" href="css/main.css" type="text/css" />
 
<!--[if IE]>
	<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<!--[if lte IE 7]>
	<script src="js/IE8.js" type="text/javascript"></script><![endif]-->
<!--[if lt IE 7]>
 
	<link rel="stylesheet" type="text/css" media="all" href="css/ie6.css"/><![endif]-->
</head>
<body id="index" class="home">
</body>
</html>

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Web Development Courses, Rants, Tutorials and Hacks